function testExtend(){

    var Thread = Java.type("java.lang.Thread")
    var ThreadExtend = Java.extend(Thread)
    new ThreadExtend() {
        run : function(){
            print(1)
        }
    }
}
